package edu.ustb.efws.base.controller.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;

/**
 * 查询危险原因
 *
 * @author TS Group
 */
@ApiModel("查询危险原因")
public class QueryRiskReasonVo {
    @ApiModelProperty(value = "危险原因")
    private final String[] reasons;
    @ApiModelProperty(value = "解决措施")
    private final String[] measures;

    public QueryRiskReasonVo(String[] reasons, String[] measures) {
        this.reasons = reasons;
        this.measures = measures;
    }

    public String[] getReasons() {
        return reasons;
    }

    public String[] getMeasures() {
        return measures;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this)
                .append("reasons", reasons)
                .append("measures", measures)
                .toString();
    }
}
